Carbon


GetWindowContentPattern

Header: MacWindows.h Carbon status: Supported

Obtains the pattern to which a window’s content region is redrawn.

OSStatus GetWindowContentPattern (
    WindowRef window, 
    PixPatHandle outPixPat
);
window

A pointer to the window whose content pattern is being retrieved.

outPixPat

On input, a handle to a structure of type PixPat. On return, the structure contains a copy of the content pattern data for the specified window, which your application is responsible for disposing.

function result

A result code.

DISCUSSION

The GetWindowContentPattern function obtains the pattern to which the window’s content region is redrawn.

See also the function SetWindowContentPattern.

VERSION NOTES

This function is available with Mac OS 8.5 and later.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when WindowsLib 8.5 or later is installed. Exported by CarbonLib 1.0 and later and by WindowsLib 8.5 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)